package cn.com.jenson.service.log.repository;

import cn.com.jenson.common.BasicRepository;
import cn.com.jenson.entity.log.ParkingLog;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository
public interface ParkingLogRepository extends BasicRepository<ParkingLog>, JpaRepository<ParkingLog,Integer> {

    List<ParkingLog> findByCarPlateAndOutDate(String carPlate, Date date);

}
